<?php
//$catalogue = str_replace('/index.php', '', $_SERVER['SCRIPT_NAME']);
//define('CATALOG_NAME', $catalogue); //目录名  /xxy/
return array(
	//数据库配置
	'DB_TYPE'   => 'mysql', 	// 数据库类型
	'DB_HOST'   => '192.168.1.80', // 服务器地址
	'DB_NAME'   => 'vehicle_query', 	// 数据库名
	'DB_USER'   => 'hanbin', 		// 用户名
	'DB_PWD'    => '123456', 	// 密码
	'DB_PORT'   => 3306, 		// 端口
	'DB_PREFIX' => '', 	// 数据库表前缀
	
	//模板配置
//	'TMPL_FILE_DEPR' => '_',  //控制器名与模板名的分隔符
	'TMPL_PARSE_STRING'  =>array(
		'__PUBLIC__' => __ROOT__.'/Public',
		'__ADMIN__' => __ROOT__.'/Public/Admin',
		'__HOME__' => __ROOT__.'/Public/Home',
		'__UPLOAD__' => __ROOT__
	),

	//文件上传
	'UPLOAD_ROOTPATH' => './Uploads/',  //上传跟目录
	'UPLOAD_TYPE'  => array('jpg', 'gif', 'png', 'jpeg','xls'),  //可上传文件类型
	'UPLOAD_MAX_SIZE' => 3145728,  //可上传最大文件
	
	
	//微信企业号配置	
	'ENCODING_AES_KEY' => 'NnKxv2cEJF1w1MLujSAql1UvHUFc6hQNVSC90fCWcRm', //企业应用秘钥
	'TOKEN' => 'yEfjHyzegmGnBCh26c2K', //企业应用TOKEN
	'CORP_ID' => 'wx48d401d358d86f36', //企业ID
	'SECRET' => 'EddysDizrmNc26xo4mjD7O1plbiaO6r-8t9W2xg0mMFEKMXvXZADNrZQPuc3kGqV', //管理组开发凭据
	'AGENTID' => 1, //企业应用ID
	
	
	//其它
	'HIDDEN_INDEX' => true,
	'APP_URL' => 'http://'.$_SERVER['HTTP_HOST'].__ROOT__,
	'URL_CASE_INSENSITIVE' =>TRUE,  //不区分大小写
	'DEFAULT_FILTER' => 'htmlspecialchars,strip_tags,trim',  //默认过滤函数
	'PSEUDO_DELETE' => true,
	
	//分页
	'PAGE_ROWS' => 18,
);